package ac.jp.u_tokyo.SyncLib.tests.generated; import ac.jp.u_tokyo.SyncLib.tests.InputOutputTestBase;public class EJBTest extends InputOutputTestBase {protected String getTestFilePath(){return "C:\\Documents and Settings\\t2ladmin\\My Documents\\Projects\\2008\\OS3\\SyncLib\\testfiles\\InputOutputTests\\EJBTool.test";}protected ac.jp.u_tokyo.SyncLib.Sync getSync() {return getMainFactory().create();}
public static ac.jp.u_tokyo.SyncLib.SyncFactory getKVDGetFactory(Object keyOverValue, Object keyFactory){
ac.jp.u_tokyo.SyncLib.language.factories.KVDGetFactory __generated_var1 = new ac.jp.u_tokyo.SyncLib.language.factories.KVDGetFactory();
__generated_var1.setKeyOverValue(keyOverValue);
__generated_var1.setKeyFactory(keyFactory);

return __generated_var1;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getDeletionFactory(){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var2 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var2.setParaVars("ejb", "entitybean", "modules");
__generated_var2.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var3 = getEqualFactory(null);
__generated_var2.connectSync(__generated_var3, "ejb");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var4 = getEqualFactory(null);
__generated_var2.connectSync(__generated_var4, "entitybean");

return __generated_var2;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getNotEqual2Factory(Object defaultValues){
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var5 = getSetMember2Factory(defaultValues, (new ac.jp.u_tokyo.SyncLib.language.factories.NotEqualTester2()));

return __generated_var5;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getContainmentReferenceMaintainerFactory(Object attribute){
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var7 = getContainmentReferenceFactory(attribute);
ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory __generated_var6 = new ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory(__generated_var7, 1,1);

return __generated_var6;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getSGetFactory(Object key, Object dictOverValue){
ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory __generated_var8 = new ac.jp.u_tokyo.SyncLib.language.factories.StaticGetFactory();
__generated_var8.setDictOverValue(dictOverValue);
__generated_var8.setKey(key);

return __generated_var8;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getContainmentReferenceFactory(Object attribute){
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var9 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var10 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var10.setParaVars("srcObj", "tgtDict");
__generated_var10.setOtherVars("ref", "tgtObj");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var11 = getSGetFactory(attribute, true);
__generated_var10.connectSync(__generated_var11, "srcObj", "ref");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var12 = getKVDGetFactory(true, null);
__generated_var10.connectSync(__generated_var12, "ref", "tgtDict", "tgtObj");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var13 = getNotNullFactory((new ac.jp.u_tokyo.SyncLib.SetMembers.NoDefaultValue()));
__generated_var10.connectSync(__generated_var13, "tgtObj");
__generated_var9.addFactory(__generated_var10);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var14 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var14.setParaVars("srcObj", "tgtDict");
__generated_var14.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var15 = getEqualFactory(null);
__generated_var14.connectSync(__generated_var15, "srcObj");
__generated_var9.addFactory(__generated_var14);

return __generated_var9;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getSetMemberFactory(Object defaultValue, Object tester){
ac.jp.u_tokyo.SyncLib.language.factories.SetMemberFactory __generated_var16 = new ac.jp.u_tokyo.SyncLib.language.factories.SetMemberFactory();
__generated_var16.setDefaultValue(defaultValue);
__generated_var16.setTester(tester);

return __generated_var16;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getFindValueByFactory(Object attribute, Object keyFactory, Object dictOverVal){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var17 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var17.setParaVars("d", "attr", "k", "v");
__generated_var17.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var18 = getFindByFactory(attribute, keyFactory);
__generated_var17.connectSync(__generated_var18, "d", "attr", "k");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var19 = getDVDGetFactory(dictOverVal);
__generated_var17.connectSync(__generated_var19, "k", "d", "v");

return __generated_var17;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getFindByFactory(Object attribute, Object keyFactory){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var20 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var20.setParaVars("d", "v", "k");
__generated_var20.setOtherVars("d0");
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var22 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var23 = getSGetFactory(attribute, true);
__generated_var22.addFactory(__generated_var23);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var24 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var24.setParaVars("a", "b");
__generated_var24.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var25 = getEqualFactory(null);
__generated_var24.connectSync(__generated_var25, "a");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var26 = getEqualFactory(null);
__generated_var24.connectSync(__generated_var26, "b");
__generated_var22.addFactory(__generated_var24);
ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory __generated_var21 = new ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory(__generated_var22, 2,0);
__generated_var20.connectSync(__generated_var21, "d", "d0");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var27 = getKVDGetFactory(false, keyFactory);
__generated_var20.connectSync(__generated_var27, "k", "d0", "v");

return __generated_var20;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getMainFactory(){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var28 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var28.setParaVars("ejbs", "modules", "entitybeans");
__generated_var28.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var29 = getContainmentReferenceMaintainerFactory("Module");
__generated_var28.connectSync(__generated_var29, "ejbs", "modules");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var30 = getTwoViewMaintainerFactory();
__generated_var28.connectSync(__generated_var30, "ejbs", "entitybeans", "modules");

return __generated_var28;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getSetMember2Factory(Object defaultValues, Object tester){
ac.jp.u_tokyo.SyncLib.language.factories.SetMembersFactory __generated_var31 = new ac.jp.u_tokyo.SyncLib.language.factories.SetMembersFactory();
__generated_var31.setDefaultValues(defaultValues);
__generated_var31.setTester(tester);

return __generated_var31;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getTwoViewMaintainerFactory(){
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var33 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var34 = getPersistentFactory();
__generated_var33.addFactory(__generated_var34);
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var35 = getNonPersistentFactory();
__generated_var33.addFactory(__generated_var35);
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var36 = getDeletionFactory();
__generated_var33.addFactory(__generated_var36);
ac.jp.u_tokyo.SyncLib.language.factories.DictMapCombinatorFactory __generated_var32 = new ac.jp.u_tokyo.SyncLib.language.factories.DictMapCombinatorFactory( new ac.jp.u_tokyo.SyncLib.dictionaries.KeyFactory[]{(new ac.jp.u_tokyo.SyncLib.dictionaries.MaxIntegerKeyFactory()), (new ac.jp.u_tokyo.SyncLib.dictionaries.MaxIntegerKeyFactory()), }, __generated_var33,1);

return __generated_var32;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getDGetFactory(Object dictOverValue, Object changeKeyFirst, Object keyFactory){
ac.jp.u_tokyo.SyncLib.language.factories.DGetFactory __generated_var37 = new ac.jp.u_tokyo.SyncLib.language.factories.DGetFactory();
__generated_var37.setDictOverValue(dictOverValue);
__generated_var37.setChangeKeyFirst(changeKeyFirst);
__generated_var37.setKeyFactory(keyFactory);

return __generated_var37;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getDVDGetFactory(Object dictOverValue){
ac.jp.u_tokyo.SyncLib.language.factories.DVDGetFactory __generated_var38 = new ac.jp.u_tokyo.SyncLib.language.factories.DVDGetFactory();
__generated_var38.setDictOverValue(dictOverValue);

return __generated_var38;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getNullableReferenceMaintainerFactory(Object attribute){
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var40 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var41 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var41.setParaVars("obj", "tgtDict");
__generated_var41.setOtherVars("tgtRef");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var42 = getSGetFactory(attribute, true);
__generated_var41.connectSync(__generated_var42, "obj", "tgtRef");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var43 = getNullableReferenceFactory();
__generated_var41.connectSync(__generated_var43, "tgtRef", "tgtDict");
__generated_var40.addFactory(__generated_var41);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var44 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var44.setParaVars("obj", "tgtDict");
__generated_var44.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var45 = getTestEqualFactory(null);
__generated_var44.connectSync(__generated_var45, "obj");
__generated_var40.addFactory(__generated_var44);
ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory __generated_var39 = new ac.jp.u_tokyo.SyncLib.language.factories.EDictMapCombinatorFactory(__generated_var40, 1,1);

return __generated_var39;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getNotNullFactory(Object defaultValue){
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var46 = getNotEqualFactory((new ac.jp.u_tokyo.SyncLib.SetMembers.NoDefaultValue()), null);

return __generated_var46;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getNonPersistentFactory(){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var47 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var47.setParaVars("ejb", "entitybean", "modules");
__generated_var47.setOtherVars("persistent");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var48 = getSGetFactory("Persistent", false);
__generated_var47.connectSync(__generated_var48, "ejb", "persistent");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var49 = getEqualFactory(false);
__generated_var47.connectSync(__generated_var49, "persistent");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var50 = getEqualFactory(null);
__generated_var47.connectSync(__generated_var50, "entitybean");

return __generated_var47;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getNotEqualFactory(Object defaultValue, Object value){
ac.jp.u_tokyo.SyncLib.language.factories.NotEqualFactory __generated_var51 = new ac.jp.u_tokyo.SyncLib.language.factories.NotEqualFactory();
__generated_var51.setDefaultValue(defaultValue);
__generated_var51.setValue(value);

return __generated_var51;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getTestEqualFactory(Object value){
ac.jp.u_tokyo.SyncLib.language.factories.TestEqualFactory __generated_var52 = new ac.jp.u_tokyo.SyncLib.language.factories.TestEqualFactory();
__generated_var52.setValue(value);

return __generated_var52;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getEqualFactory(Object value){
ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory __generated_var53 = new ac.jp.u_tokyo.SyncLib.language.factories.EqualFactory();
__generated_var53.setValue(value);

return __generated_var53;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getIdFactory(){
ac.jp.u_tokyo.SyncLib.language.factories.IDFactory __generated_var54 = new ac.jp.u_tokyo.SyncLib.language.factories.IDFactory();
__generated_var54.setV1OverV2(true);

return __generated_var54;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getPersistentFactory(){
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var55 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var55.setParaVars("ejb", "entitybean", "modules");
__generated_var55.setOtherVars("moduleName", "moduleRef", "persistent", "ejbName");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var56 = getSGetFactory("Persistent", false);
__generated_var55.connectSync(__generated_var56, "ejb", "persistent");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var57 = getEqualFactory(true);
__generated_var55.connectSync(__generated_var57, "persistent");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var58 = getSGetFactory("Name", true);
__generated_var55.connectSync(__generated_var58, "ejb", "ejbName");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var59 = getSGetFactory("EJBName", false);
__generated_var55.connectSync(__generated_var59, "entitybean", "ejbName");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var60 = getSGetFactory("ModuleName", false);
__generated_var55.connectSync(__generated_var60, "entitybean", "moduleName");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var61 = getSGetFactory("Module", true);
__generated_var55.connectSync(__generated_var61, "ejb", "moduleRef");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var62 = getFindByFactory("Name", (new ac.jp.u_tokyo.SyncLib.dictionaries.MaxIntegerKeyFactory()));
__generated_var55.connectSync(__generated_var62, "modules", "moduleName", "moduleRef");

return __generated_var55;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getNullableReferenceFactory(){
ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory __generated_var63 = new ac.jp.u_tokyo.SyncLib.language.factories.SwitchCombinatorFactory();
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var64 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var64.setParaVars("objRef", "objs");
__generated_var64.setOtherVars("obj");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var65 = getKVDGetFactory(true, null);
__generated_var64.connectSync(__generated_var65, "objRef", "objs", "obj");
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var66 = getNotNullFactory((new ac.jp.u_tokyo.SyncLib.SetMembers.NoDefaultValue()));
__generated_var64.connectSync(__generated_var66, "obj");
__generated_var63.addFactory(__generated_var64);
ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory __generated_var67 = new ac.jp.u_tokyo.SyncLib.graphCombinator.GraphCombinatorFactory();
__generated_var67.setParaVars("objRef", "objs");
__generated_var67.setOtherVars();
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var68 = getEqualFactory(null);
__generated_var67.connectSync(__generated_var68, "objRef");
__generated_var63.addFactory(__generated_var67);

return __generated_var63;
}

public static ac.jp.u_tokyo.SyncLib.SyncFactory getEqual2Factory(Object defaultValues){
ac.jp.u_tokyo.SyncLib.SyncFactory __generated_var69 = getSetMember2Factory(defaultValues, (new ac.jp.u_tokyo.SyncLib.language.factories.EqualTester()));

return __generated_var69;
}
}